import 'package:json_annotation/json_annotation.dart';
import 'package:qh_music/src/shared/enum/playlist_mode.dart';

part 'setting.g.dart';

@JsonSerializable(createToJson: true, createFactory: true)
class SettingModel {
  final int volume;
  final PlayMode playMode;
  final int rate;
  final String downloadFileDirectory;

  SettingModel({
    this.volume = 100,
    this.playMode = PlayMode.sequence,
    this.rate = 1,
    this.downloadFileDirectory = '',
  });
}
